.class Lcom/xingbook/ting/fragment/f;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/receiver/a;


# instance fields
.field final synthetic a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;


# direct methods
.method constructor <init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ting/fragment/f;->a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;I)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/f;->a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    invoke-virtual {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    if-eq v1, p2, :cond_0

    const/4 v1, -0x1

    if-ne p2, v1, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/f;->a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    :cond_1
    return-void
.end method

.method public b(Ljava/lang/String;I)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/f;->a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    invoke-virtual {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    if-eq v1, p2, :cond_0

    const/4 v1, -0x1

    if-ne p2, v1, :cond_1

    :cond_0
    if-eqz p1, :cond_1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/f;->a:Lcom/xingbook/ting/fragment/TingPlayContentFragment;

    invoke-static {v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    :cond_1
    return-void
.end method
